package com.xwy.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * (SysRoleMenu)实体类
 *
 * @author makejava
 * @since 2020-06-09 08:07:17
 */
public class SysRoleMenu implements Serializable {
    private static final long serialVersionUID = -21672003611870756L;
    /**
    * 角色权限编号
    */
    private String rmid;
    /**
    * 角色编号
    */
    private SysRole role = new SysRole();
    /**
    * 权限编号
    */
    private List<SysMenu> menus = new ArrayList<>();

    public String getRmid() {
        return rmid;
    }

    public SysRoleMenu setRmid(String rmid) {
        this.rmid = rmid;
        return this;
    }

    public SysRole getRole() {
        return role;
    }

    public SysRoleMenu setRole(SysRole role) {
        this.role = role;
        return this;
    }

    public List<SysMenu> getMenus() {
        return menus;
    }

    public SysRoleMenu setMenus(List<SysMenu> menus) {
        this.menus = menus;
        return this;
    }
}
